/**
 *
 * Copyright 2015 RSVP Technologies Inc. All rights reserved.
 * StartEnd.java
 *
 */
package com.gfinal.map.direction;

import java.io.Serializable;

import com.gfinal.map.place.Location;

/**
 * 明确的起点或终点
 *@author Gao Yudong (gyd@nbicc.com) 
 *@date 2015-3-2
 */
public class StartEnd implements Serializable {
	private static final long serialVersionUID = 5643934841740292325L;
	
	private int area_id = 0;
	private String bid = null;
	private String cname = null;
	private String uid = null;
	private String wd = null;
	private Location originPt = null;
	private Location destinationPt = null;
	
	public StartEnd() {
		super();
	}

	public int getArea_id() {
		return area_id;
	}

	public void setArea_id(int area_id) {
		this.area_id = area_id;
	}

	public String getBid() {
		return bid;
	}

	public void setBid(String bid) {
		this.bid = bid;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getWd() {
		return wd;
	}

	public void setWd(String wd) {
		this.wd = wd;
	}

	public Location getOriginPt() {
		return originPt;
	}

	public void setOriginPt(Location originPt) {
		this.originPt = originPt;
	}

	public Location getDestinationPt() {
		return destinationPt;
	}

	public void setDestinationPt(Location destinationPt) {
		this.destinationPt = destinationPt;
	}

	@Override
	public String toString() {
		return "StartEnd [area_id=" + area_id + ", bid=" + bid + ", cname="
				+ cname + ", uid=" + uid + ", wd=" + wd + ", originPt="
				+ originPt + ", destinationPt=" + destinationPt + "]";
	}
	
}
